import Editor from "../editor";
import {Operation} from "../types";

export class SetSelectionOperation implements Operation {
    selection_: any;

    constructor(selection: any) {
        this.selection_ = selection
    }

    apply(editor: Editor): void {
        editor.getSelectionModel().setSelection(this.selection_)
    }

    inverse(): void {
    }

}